# $Id: PKGBUILD 162038 2012-06-19 05:34:02Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>

pkgname=shared-desktop-ontologies
pkgver=0.10.0
pkgrel=1
pkgdesc="Provide RDF vocabularies for the Semantic Desktop"
arch=('any')
url="http://sourceforge.net/apps/trac/oscaf/"
license=('GPL')
makedepends=('cmake')
source=("http://downloads.sourceforge.net/oscaf/$pkgname-$pkgver.tar.bz2")
md5sums=('bfb7b5acbb43e5e45466c87dbe9c45b7')

build() {
  cd "${srcdir}"
  mkdir build
  cd build
  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd "${srcdir}"/build
  make DESTDIR="${pkgdir}" install
}
